<template>
  <div class="dashboard-editor-container">
    <!-- <github-corner></github-corner> -->
    <el-row :gutter="4">
      <panel-group @handleSetLineChartData="handleSetLineChartData"></panel-group>
    </el-row>

    <el-row >
        <transaction-table></transaction-table>
    </el-row>

  </div>
</template>

<script>
import PanelGroup from './components/PanelGroup'
import TransactionTable from './components/TransactionTable'

export default {
  name: 'dashboard-admin',
  components: {
    PanelGroup,
    TransactionTable
  },
  data() {
    return {
      // lineChartData: lineChartData.newVisitis
    }
  },
  methods: {
    handleSetLineChartData(type) {
      // this.lineChartData = lineChartData[type]
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.dashboard-editor-container {
  padding: 32px;
  background-color: rgb(240, 242, 245);
  .chart-wrapper {
    background: #fff;
    padding: 16px 16px 0;
    margin-bottom: 32px;
  }
}
</style>
